<?php

class Category extends AppModel {
	public $recursive = 2;

    // public $actsAs = array('Tree','Translate' => array('name'));
    public $actsAs = array('Tree','Lang');
    // public $actsAs = array('Tree');

	public $hasMany = array(
	        'CategoryLang' => array(
				'className' =>'CategoryLang' 
				,'foreignKey' =>'reference_id'
				)
		);

}

?>